2024-07-08T11:22:09.676+08:00  INFO 17352 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2024-07-08T11:22:09.685+08:00  INFO 17352 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2024-07-08T11:22:12.660+08:00  INFO 23296 --- [main] c.example.demo.JavaChatroomApplication   : Starting JavaChatroomApplication using Java 17.0.10 with PID 23296 (E:\java项目\java_chatroom\target\classes started by 王丛发 in E:\java项目\java_chatroom)
2024-07-08T11:22:12.662+08:00  INFO 23296 --- [main] c.example.demo.JavaChatroomApplication   : No active profile set, falling back to 1 default profile: "default"
2024-07-08T11:22:13.159+08:00  INFO 23296 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-07-08T11:22:13.161+08:00  INFO 23296 --- [main] o.a.catalina.core.AprLifecycleListener   : An older version [1.2.39] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5]
2024-07-08T11:22:13.161+08:00  INFO 23296 --- [main] o.a.catalina.core.AprLifecycleListener   : Loaded Apache Tomcat Native library [1.2.39] using APR version [1.7.4].
2024-07-08T11:22:13.164+08:00  INFO 23296 --- [main] o.a.catalina.core.AprLifecycleListener   : OpenSSL successfully initialized [OpenSSL 3.0.11 19 Sep 2023]
2024-07-08T11:22:13.169+08:00  INFO 23296 --- [main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-07-08T11:22:13.169+08:00  INFO 23296 --- [main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.25]
2024-07-08T11:22:13.198+08:00  INFO 23296 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-07-08T11:22:13.200+08:00  INFO 23296 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 511 ms
2024-07-08T11:22:13.518+08:00  INFO 23296 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path '/'
2024-07-08T11:22:13.524+08:00  INFO 23296 --- [main] c.example.demo.JavaChatroomApplication   : Started JavaChatroomApplication in 1.088 seconds (process running for 1.363)
2024-07-08T11:22:25.346+08:00  INFO 23296 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-07-08T11:22:25.346+08:00  INFO 23296 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2024-07-08T11:22:25.347+08:00  INFO 23296 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2024-07-08T11:22:25.406+08:00  INFO 23296 --- [http-nio-8080-exec-5] com.example.demo.api.FriendAPI           : session 不存在
2024-07-08T11:22:25.406+08:00  INFO 23296 --- [http-nio-8080-exec-6] com.example.demo.api.MessageSessionAPI   : 获取 session 失败
2024-07-08T11:22:25.406+08:00  INFO 23296 --- [http-nio-8080-exec-4] com.example.demo.api.UserAPI             : 当前获取不到 session 对象
2024-07-08T11:22:28.212+08:00  INFO 23296 --- [http-nio-8080-exec-8] com.example.demo.api.UserAPI             : 用户登录, username:zhangsan, password:123
2024-07-08T11:22:28.230+08:00  INFO 23296 --- [http-nio-8080-exec-8] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-07-08T11:22:28.341+08:00  INFO 23296 --- [http-nio-8080-exec-8] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@3cae01a4
2024-07-08T11:22:28.343+08:00  INFO 23296 --- [http-nio-8080-exec-8] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
